package com.pengpeng.advice.mapper;

import com.pengpeng.advice.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Describe:
 * Created by AlexP on 2021/10/17.
 */
@Mapper
@Repository
public interface UserMapper {
    int insert(User user);
    //分页查询
    List<User> select(User user);
    //更新
    int update(User user);
    //删除
    int delete(User user);
}
